import { NgModule } from '@angular/core';
import { AuthRoutingModule } from './auth-routing.module';
import { BaseModule } from 'src/app/base.module';

import { AuthComponent } from './auth.component';
import { ForgetComponent } from './components/forget/forget.component';
import { LoginComponent } from './components/login/login.component';
import { RegisterComponent } from './components/register/register.component';

const components = [
  LoginComponent,
  RegisterComponent,
  ForgetComponent,
];


@NgModule({
  declarations: [
    AuthComponent,
    ...components,
  ],
  imports: [
    AuthRoutingModule,
    BaseModule,
  ],
  exports: [
    AuthComponent
  ]
})

export class AuthModule { }
